{volist name='list' id='vo'}
<div class="li">
    <a href="{eq name='no_url' value='1'}javascript:;{else/}{:url('/order_info', ['id'=>$vo['id']])}{/eq}" class="external">
        <div class="t">
            <span class="z"><i class="iconfont icon-dingdan"></i>订单编号：{$vo.sn}</span>
            <span class="y {switch name='vo.state'}{case value='1'}red{/case}{case value='2'}yellow{/case}{case value='3'}yellow{/case}{case value='4'}green{/case}{case value='5'}green{/case}{/switch}">{$state_list[$vo.state]}</span>

        </div>
        {volist name='vo.goods_list' id='goods'}
        <div class="mt">
            <img src="{$goods.img}" alt="" />
            <div class="y">
                <p class="p1">{$goods.title}</p>
                <!-- <p class="p3">{$goods.spec}</p> -->
                <p class="p2"><span>￥{$goods.price}</span>x {$goods.num|floatval=###}</p>
            </div>
        </div>
        {/volist}
    </a>
</div>
{/volist}
<!--
    待付款：red
    待收货。待发货：yellow
    申请寄售中、寄售订单：green
-->